package com.yike.user.service;

import com.yike.user.entity.AgentCount;
import com.yike.user.param.AgentCountPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;

/**
 * 代理商分佣统计 服务类
 *
 * @author Sakura
 * @since 2024-11-13
 */
public interface AgentCountService extends BaseService<AgentCount> {

    /**
     * 保存
     *
     * @param agentCount
     * @return
     * @throws Exception
     */
    boolean saveAgentCount(AgentCount agentCount) throws Exception;

    /**
     * 修改
     *
     * @param agentCount
     * @return
     * @throws Exception
     */
    boolean updateAgentCount(AgentCount agentCount) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteAgentCount(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param agentCountPageParam
     * @return
     * @throws Exception
     */
    Paging<AgentCount> getAgentCountPageList(AgentCountPageParam agentCountPageParam) throws Exception;

}
